package com.lpit.mapper;

import com.lpit.pojo.Message;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


/**
* @author Administrator
* @description 针对表【message(聊天信息表)】的数据库操作Mapper
* @createDate 2023-06-27 14:43:33
* @Entity com.lpit.entity.Message
*/
@Mapper
public interface MessageMapper extends BaseMapper<Message> {
    //查看私信
    List<Message> selectLetters(Message message);
    //删除私信
    Integer deleteLetters(Integer id);
    //回复私信
    List<Message> insertLetters(Message message);
    //设置自动回复消息
    //List<Message> findUnreadMessages();
}




